package com.xd.middlesoftware.whitelist.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @className: com.xd.middlesoftware.whitelist.annotation-> doWhiteList
 * @description:
 * @author: lxd
 * @createDate: 2022-01-21 3:49 下午
 * @version: 1.0
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface DoWhiteList {

    /**
     * 白名单key
     * @return
     */
    String key() default "";

    /**
     * 拦截返回
     * @return
     */
    String returnJson() default "";
}
